<?php
class Config
{
	static private $config = array();
	
	public static function get_slot($key, $default)
	{
		if(empty(self::$config[$key]))
		{
			return $default;
		}
		else
		{
			return self::$config[$key];
		}
	}
	
	public static function set_slot($key, $val)
	{
		self::$config[$key] = $val;
	}
}